Skip to content

add Add integration test for GetExtractedRanges#654

Open
ozangoktan wants to merge 1 commit intomasterfrom
integration-test-getextractedranges
Open

add Add integration test for GetExtractedRanges#654
ozangoktan wants to merge 1 commit intomasterfrom
integration-test-getextractedranges

Conversation

@ozangoktan
Copy link
Copy Markdown
Contributor

This adds an integration test for GetExtractedRanges which tests both ignoreBadDataPoints true and false behavior. Follow-up from #646

@ozangoktan ozangoktan force-pushed the integration-test-getextractedranges branch from 7f41a9f to 752a2a7 Compare April 8, 2026 10:29
@ozangoktan ozangoktan force-pushed the integration-test-getextractedranges branch from 752a2a7 to 9a972ef Compare April 8, 2026 10:35
@ozangoktan ozangoktan marked this pull request as ready for review April 8, 2026 10:35
@ozangoktan ozangoktan requested a review from a team as a code owner April 8, 2026 10:35
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.97%. Comparing base (53172dc) to head (9a972ef).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #654      +/-   ##
==========================================
+ Coverage   77.94%   77.97%   +0.02%     
==========================================
  Files         136      136              
  Lines       13228    13228              
  Branches     1991     1991              
==========================================
+ Hits        10311    10314       +3     
+ Misses       2080     2077       -3     
  Partials      837      837              

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ozangoktan
Copy link
Copy Markdown
Contributor Author

/gemini review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the 'CreateTestTimeSeries' helper method in the integration tests to support a dynamic number of time series and adds a new integration test, 'TestGetExtractedRanges'. This new test verifies the behavior of the 'GetExtractedRanges' method when handling data points with bad status codes, ensuring that the 'ignoreBadDataPoints' flag correctly filters or includes them. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant